package com.microboom.web.exception;

import lombok.Data;
import org.springframework.validation.BindingResult;

@Data
public class RegisterParameterException extends RuntimeException {

    private String viewName;
    private BindingResult bindingResult;

    public RegisterParameterException(String viewName, BindingResult bindingResult) {
        this.viewName = viewName;
        this.bindingResult = bindingResult;
    }

}
